2019-02-25
🤕 patients admitted to hospital
🚕 traffic in the city
🤳 social media posts
⛈ weather patterns
🐒 animal movement
🍒 agricultural output
💻 pixels on images
🤕 patients admitted to hospital 🌐
🚕 traffic in the city 🌐
🤳 social media posts 🌐
⛈ weather patterns 🌐
🐒 animal movement 🌐
🍒 agricultural output 🌐
💻 pixels on images 🌐
listings %>% select(-host_id) %>% slice(1:5)
## # A tibble: 5 x 8 ## id name host_name neighbourhood latitude longitude room_type price ## <dbl> <chr> <chr> <chr> <dbl> <dbl> <chr> <dbl> ## 1 9835 Beautif~ Manju Manningham -37.8 145. Private ~ 60 ## 2 10803 Room in~ Lindsay Moreland -37.8 145. Private ~ 35 ## 3 12936 St Kild~ Frank & ~ Port Phillip -37.9 145. Entire h~ 159 ## 4 15246 Large p~ Eleni Darebin -37.8 145. Private ~ 50 ## 5 16760 Melbour~ Colin Port Phillip -37.9 145. Private ~ 69
ggplot(listings, aes(x = longitude, y = latitude)) + geom_point()
SA2_2016_MELB %>% select(-starts_with("SA4")) %>% slice(1:5)
## Simple feature collection with 5 features and 2 fields ## geometry type: MULTIPOLYGON ## dimension: XY ## bbox: xmin: 144.9267 ymin: -37.78021 xmax: 144.9869 ymax: -37.73251 ## epsg (SRID): 4283 ## proj4string: +proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs ## SA2_MAIN16 SA2_NAME16 geometry ## 1 206011105 Brunswick MULTIPOLYGON (((144.9497 -3... ## 2 206011106 Brunswick East MULTIPOLYGON (((144.9734 -3... ## 3 206011107 Brunswick West MULTIPOLYGON (((144.9341 -3... ## 4 206011108 Coburg MULTIPOLYGON (((144.9485 -3... ## 5 206011109 Pascoe Vale South MULTIPOLYGON (((144.9326 -3...
ggplot(SA2_2016_MELB) + geom_sf()
Image Source: NEON, via Data Carpentry
Image Source: NEON, via Data Carpentry
st_crs(SA2_2016_MELB)
## Coordinate Reference System: ## EPSG: 4283 ## proj4string: "+proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs"
Image Source: van Wijk (2008)
https://github.com/RPanczak/ReduSpatial
In RStudio: File >> Open Project... choose ReduSpatial.Rproj